package com.zbest.zpay.acctrans.service.model;

import java.io.Serializable;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.zbest.common.lang.base.Money;
import com.zbest.zpay.acctrans.enums.biz.BusTypConstants;
import com.zbest.zpay.acctrans.enums.biz.TxCodConstants;

/**
 * Created by huwenfei on 2016/7/12.
 */
public class HoldEntity implements Serializable {
    private static final long serialVersionUID = -6897818053060556620L;

    /**
     * 交易码
     */
    private String txCd = TxCodConstants.BALANCE_HOLD;

    /**
     * 业务类型
     */
    private String busTyp = BusTypConstants.HOLD;

    /**
     * usrId
     */
    private String usrId;

    /**
     * 冻结代码
     */
    private String hldCd;

    /**
     * 冻结金额
     */
    private Money hldAmt = new Money(0, Money.DEFAULT_CURRENCY);

    /**
     * 冻结编号
     */
    private String hldNo;

    /**
     * 失效日期
     */
    private String hldExpDt;

    /**
     * 失效时间
     */
    private String hldExpTm;
    /**
     * 到期处理方式 0：到期释放；1：不自动释放
     */
    private String hldExpProcMod = "1";

    public String getTxCd() {
        return txCd;
    }

    public void setTxCd(String txCd) {
        this.txCd = txCd;
    }

    public String getBusTyp() {
        return busTyp;
    }

    public void setBusTyp(String busTyp) {
        this.busTyp = busTyp;
    }

    public String getUsrId() {
        return usrId;
    }

    public void setUsrId(String usrId) {
        this.usrId = usrId;
    }

    public String getHldCd() {
        return hldCd;
    }

    public void setHldCd(String hldCd) {
        this.hldCd = hldCd;
    }

    public Money getHldAmt() {
        return hldAmt;
    }

    public void setHldAmt(Money hldAmt) {
        this.hldAmt = hldAmt;
    }

    public String getHldNo() {
        return hldNo;
    }

    public void setHldNo(String hldNo) {
        this.hldNo = hldNo;
    }

    public String getHldExpDt() {
        return hldExpDt;
    }

    public void setHldExpDt(String hldExpDt) {
        this.hldExpDt = hldExpDt;
    }

    public String getHldExpTm() {
        return hldExpTm;
    }

    public void setHldExpTm(String hldExpTm) {
        this.hldExpTm = hldExpTm;
    }

    public String getHldExpProcMod() {
        return hldExpProcMod;
    }

    public void setHldExpProcMod(String hldExpProcMod) {
        this.hldExpProcMod = hldExpProcMod;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }
}
